import instance from "./api";
// 登录
export const login = (data) => instance({
    url: "/sys/login",
    method: "post",
    data: data
})
// 获取用户信息
export const getUserInfo = (data) => instance({
    url: "/sys/profile",
    method: "get",
    params: data
})
